<form id="pagerForm" action="__URL__/trash" method="post">
	<input type="hidden" name="pageNum" value="1"/>
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="_order" value="{$_REQUEST._order}"/>
	<input type="hidden" name="_sort" value="{$_REQUEST._sort}"/>
</form>
<script type="text/javascript">
function reload25() {
    navTab.reload("__URL__/trash", {});
}
function controdbltable(target,rel){
    if( target == 'sid_controltable'){
    $.pdialog.open("__URL__/read/id/"+rel+"/sid_controltable="+rel,"pdialogid", "查看", { max:false, mask:true, width: 510, height: 380});
    } 
  }
</script>
<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="__URL__" method="post" >
	<input type="hidden"  name="start" value="{$start}"/>
	<input type="hidden"  name="end" value="{$end}"/>
	<input type="hidden"  name="shipper" value="{$shipper}"/>
	<input type="hidden"  name="customer" value="{$customer}"/>
	<input type="hidden"  name="carstat" value="{$carstat}"/>
	<input type="hidden"  name="product" value="{$product}"/>
	<input type="hidden"  name="state" value="{$state}"/>
	<div class="searchBar" style="height: 50px;">
		<div class="subBar">
			<ul>
			<li><a class="button" href="__URL__/retrieval" target="dialog" mask="true" rel="closeCurrent" title="查询框"><span>高级查询</span></a></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="edit"	href="__URL__/restore/id/{sid_controltable}/navTabId/controltable_trash" target="ajaxTodo" title="你确定要还原吗？"><span>还原</span></a></li>
			<li><a class="delete" href="__URL__/foreverdelete/navTabId/controltable_trash" target="selectedTodo" postType="string" title="你确定要删除吗？" warn="请选择信息"><span>删除</span></a></li>
			<li><a class="icon" href="#" onclick="reload25()"><span>刷新</span></a></li>
		</ul>
	</div>


	<table class="table" width="110%" layoutH="136">
		<thead>
		<tr>
		    <th width="30" align="center"></th>	
		    <th width="140" align="center">订单号</th>
		     <!-- <th width="140" align="center">合同编号</th> -->
			<th width="140" align="center">发货方</th>
			<th width="140" align="center">客户</th>
			<th width="140" align="center">供应商</th>
			<th width="140" align="center">承运方</th>
			<th width="140" align="center">车牌号</th>
			<th width="140" align="center">起运地</th>
			<th width="150" align="center">目的地</th>
			<th width="140" align="center">接车人</th>
			<th width="150" align="center">车辆状态</th>
			<th width="120" align="center">产品种类</th>
			<th width="100" align="center">出厂净重</th>
			<th width="100" align="center">卸货净重</th>
			<th width="100" align="center">盈亏</th>
			<th width="100" align="center">调度时间</th>
		<!-- 	<th width="140" align="center">卸货净重</th>
			<th width="140" align="center">仓库提供</th>
			<th width="140" align="center">供应商提供</th> -->
		<!-- 	<th width="140" align="center">已供货量</th>
			<th width="140" align="center">未供货量</th> -->
			<th width="140" align="center">备注</th>
			<th width="140" align="center">操作</th>
		</tr>
		</thead>
		<tbody>
		<define name="number" value="1"/>
		<volist id="vo" name="list">
			<tr target="sid_controltable" rel="{$vo['id']}" ondblclick="controdbltable('sid_controltable',{$vo.id})">
			    <td><input type="checkbox" name="ids" value="{$vo['id']}" /></td>
			    <td>{$vo['orders']}</td>
			    <!--  <td>{$vo['contractno']}</td> -->
				<td>{$vo['shipper']}</td>
				<td>
				<volist name="customer" id="vosss" >
				<eq name="vosss['id']" value="$vo.customer">{$vosss['customername']}</eq>
				</volist>
				</td>
				<td>
				<volist name="provider" id="voss" >
				<eq name="voss['id']" value="$vo.provider">{$voss['providername']}</eq>
				</volist>
				</td>
				<td>
				<volist name="carr" id="vos" >
				<eq name="vos['id']" value="$vo.carrier">{$vos['carriername']}</eq>
				</volist>
				</td>
				<td>{$vo['carno']}</td>
				<td>{$vo['start']}</td>
				<td>{$vo['destination']}</td>
				<td>{$vo['userid']}</td>
				<td><eq name="vo.carstat" value="0">--请选择--</eq>
				<eq name="vo.carstat" value="2">待发货</eq>
				<eq name="vo.carstat" value="3">已发货</eq>
				<eq name="vo.carstat" value="1">运送完毕</eq>
				<td>{$vo['product']}</td>
				<td>{$vo['Factorynetweight']}</td>
				<td>{$vo['NetLandedWeight']}</td>
				<td>{$vo['loss']}</td>
				<td>{$vo.controldate}</td>
				<!-- <td>{$vo['eweight']}</td>
				<td>{$vo['warehouse']}</td>
				<td>{$vo['supplier']}</td> -->
				<!-- <td>{$vo['alshipment']}</td>
				<td>{$vo['notshipment']}</td> -->
				<td>{$vo['note']}</td>
				<td><a class="delete" href="__URL__/restore/id/{$vo['id']}/navTabId/controltable_trash" target="ajaxTodo" title="你确定要还原吗？"><span>还原</span></a>
				&nbsp;|&nbsp;<a class="delete" href="__URL__/foreverdelete/ids/{$vo['id']}/navTabId/controltable_trash" target="ajaxTodo" title="你确定要删除吗？"><span>删除</span></a></td>
			</tr>
		</volist>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>每页</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<eq name="numPerPage" value="24"><option value="24" selected>24</option><else/><option value="24">24</option></eq>
				<eq name="numPerPage" value="50"><option value="50" selected>50</option><else/><option value="50">50</option></eq>
				<eq name="numPerPage" value="100"><option value="100" selected>100</option><else/><option value="100">100</option></eq>
				<eq name="numPerPage" value="200"><option value="200" selected>200</option><else/><option value="200">200</option></eq>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>
	<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
</div>
</div>
